package tgc.edu.examxy.entity;

import java.util.UUID;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.ManyToOne;

import org.springframework.data.annotation.CreatedBy;
 
import tgc.edu.examxy.custom.BaseEntity;

/**
 * 文章管理
 * @author asus
 *
 */
@Entity
public class ArticleManagement extends BaseEntity<UUID> {
	private String title;	//标题
	private String content;	//内容
	private String type;	//类型
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	@Column(columnDefinition="CLOB")
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public ArticleManagement(UUID id, Boolean isUsed, String createName, String createDate, String updateName,
			String updateDate, String title, String content, String type) {
		super(id, isUsed, createName, createDate, updateName, updateDate);
		this.title = title;
		this.content = content;
		this.type = type;
	}
	public ArticleManagement() {
		super();
		// TODO Auto-generated constructor stub
	}
	public ArticleManagement(UUID id, Boolean isUsed, String createName, String createDate, String updateName,
			String updateDate) {
		super(id, isUsed, createName, createDate, updateName, updateDate);
		// TODO Auto-generated constructor stub
	}
	public ArticleManagement(UUID id, Boolean isUsed) {
		super(id, isUsed);
		// TODO Auto-generated constructor stub
	}
	public ArticleManagement(UUID id) {
		super(id);
		// TODO Auto-generated constructor stub
	}
	
}
